﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ComparativoReadForm.aspx.cs" Inherits="UILGestion.ObraAdmin.ComparativoReadForm1" %>

<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="lib" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>


<%@ Register src="../../Control/menuObraCtrl.ascx" tagname="menuObraCtrl" tagprefix="uc1" %>
<%@ Register src="../RecepcionDoc/RecepcionDocListGrid.ascx" tagname="RecepcionDocListGrid" tagprefix="uc2" %>
<%@ Register src="../OrdenCompras/OrdenCompraListGrid.ascx" tagname="OrdenCompraListGrid" tagprefix="uc3" %>
<%@ Register src="../../Control/GastoObraListGrid.ascx" tagname="GastoObraListGrid" tagprefix="uc4" %>
<%@ Register src="../../Control/ComparativoItemFinSeleccionPanel.ascx" tagname="ComparativoItemFinSeleccionPanel" tagprefix="uc5" %>
<%@ Register src="../../Control/ComparativoDevListGrid.ascx" tagname="ComparativoDevListGrid" tagprefix="uc6" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
  
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
            <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
    <script src="../../Scripts/ComparativoProvAdd.js" type="text/javascript"></script>
     <script type="text/javascript">
<!--

         function goPage() {
             var idObra = document.getElementById("idObra").value;
             var internalid = document.getElementById("idComparativoProv").value;
             window.open('../Rpt/PrintForm.aspx?type=COMPARATIVO&idComparativoProv=' +
        internalid.toString());
             
         }

-->
</script>
   
</head>
<body>
    <form id="form1" runat="server">
                              <input id="idEstructuraCosto" type="hidden" runat="server"/>
                              <input id="idEstado" type="hidden"  runat="server" />
                              <input id="idtemAddProvList" type="hidden"  
        runat="server" /> <input id="idsimbolMoneda" type="hidden"  
        runat="server"  /> <input id="idProveedorSelect" type="hidden"  
        runat="server" name="idProveedorSelect"/> 
        <input id="idItemSeleccion" type="hidden"  
        runat="server" name="idItemSeleccion"/> 
        
        <input id="idObra" type="hidden"  runat="server" 
        name="idObra"/> <input id="internalID" type="hidden"  runat="server" 
        name="internalID"/>
    <uc1:menuObraCtrl ID="menuObraCtrl1" runat="server" />
     <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"  EnablePartialRendering="true" />
         

    
   
    
   <asp:Panel ID="pnlMain" runat="server" Visible="false"
      CssClass="Heading secTitle AreaHeading ms-crm-List-Header " 
              >
                <asp:Label ID="Label1" runat="server" Text="COMPARATIVO" style="font-size: large; color: #960818"></asp:Label>
              </asp:Panel>
   <asp:Panel ID="PanelButtom" runat="server" Visible="false"    class="ms-crm-Form-Body" >
              
                 <table  width="100%">
                 <tr>
                 <td  width="80%">
               
                   <table >
<tr>
<td>
    <asp:Button ID="refreshButton" runat="server" Text="Restablecer"    CssClass="ms-crm-List-Header" 
        onclick="refreshButton_Click"    /></td>
<td>
    <asp:Button ID="EditarButton" runat="server" Text="Editar"    CssClass="ms-crm-List-Header" 
        onclick="EditarButton_Click"    />
        </td>
<td>
    <asp:Button ID="nuevoButton" runat="server" Text="Nuevo"    CssClass="ms-crm-List-Header" 
        onclick="nuevoButton_Click"  /></td>

 <td>
 <asp:Button ID="aprobarButton" runat="server" Text="Aprobar"    CssClass="ms-crm-List-Header" 
        onclick="aprobarButton_Click" OnClientClick="return confirm('Usted quiere Aprobar el Comparativo?')"  /></td>
 
        <td>
            <asp:Button ID="desaprobarButton" runat="server" onclick="desaprobarButton_Click"    CssClass="ms-crm-List-Header" 
                Text="Desaprobar" OnClientClick="return confirm('Usted quiere Desaprobar  el Comparativo?')"   />
 </td>
  <td>
           


 </td>
  <td>
            <asp:Button ID="devolucionButton" runat="server" Visible="false" onclick="devolucionButton_Click"    CssClass="ms-crm-List-Header" 
                Text="Finalizar Contrato" OnClientClick="return confirm('Usted quiere Terminar el Contrato,No  podra generar mas Ordenes de Compra?')" />
 </td>

 
 <td>
    <asp:Button ID="EliminarButton" runat="server" Text="Eliminar"  CssClass="ms-crm-List-Header"   OnClientClick="return confirm('Usted quiere eliminar el Comparativo?')" onclick="EliminarButton_Click" 
        /></td> 

        <td>
      
 </td>
</tr>
</table>
                 </td>
                 <td>
                   <table align="left" >
            
            <tr>
                <td>
                    <asp:Button ID="anteriorButton" runat="server" Text="Anterior"  OnClick="anteriorButton_Click"   CssClass="ms-crm-List-Header" />
                </td>
                <td>
                    <asp:Button ID="siguienteButton" runat="server" Text="Siguiente" OnClick="siguienteButton_Click"   CssClass="ms-crm-List-Header" />
                </td>
            </tr>
        </table>  
                 </td>
                 </tr>
                 </table>
               
  
  </asp:Panel>
                
    <asp:Panel ID="PanelBody" runat="server" Visible="false" BackColor="white" >
                 
        <asp:UpdatePanel ID="cabeceraPanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
         <table >
                     <tr>
                         <td  align="right" width="100px">
                             Codigo:</td>
                         <td  width="200px">
                            <b style="font-size:medium"> <asp:Label ID="numDocumentoLabel" runat="server"></asp:Label></b>
                         
                         </td>
                        
                       
                        
                         <td align="right"  width="120px">
                             Aprobacion 1:</td>
                        
                       <td align="left" width="150px" >
                           <asp:Label ID="aprobacion1Label" runat="server"></asp:Label>
                         </td>
                        
                         <td rowspan="9" align="left"  valign="top">

                             <asp:Table ID="totalesTBL" runat="server" class="PanelTotales">

                             </asp:Table>

                         
      
     
                         </td>
                        
                     </tr>
                     <tr>
                         <td  align="right">
                             Fecha:</td>
                         <td  width="200px">
                             
                             <asp:Label ID="fechaLabel" runat="server"></asp:Label>
                             
                         </td>
                        
                        
                        
                        
                        
                         <td  align="right" width="120px">
                             Aprobacion 2:</td>
                        
                        <td align="left" width="150px">
                            <asp:Label ID="aprobacion2Label" runat="server"></asp:Label>
                         </td>
                        
                        
                        
                     </tr>
                     <tr>
                     <td align="right">Descripcion:</td>
                     <td width="200px">
                         <asp:Label ID="descripcionLabel" runat="server" Text="Label"></asp:Label>
                     </td>
                     <td rowspan="1" valign="top" width="120px" align="right" >
                         Fecha Aprobacion 2:</td>
                        
                         <td align="left"  width="150px">
                             <asp:Label ID="fechaaprob2Label" runat="server"></asp:Label>
                         </td>
                        
                     </tr>
                    
                     <tr>
                         <td align="right">
                             Estructura:</td>
                         <td width="200px">
                             <asp:Label ID="estructuraCostoLabel" runat="server" Text=""></asp:Label>
                         </td>
                         <td align="right"  width="120px">
                             Fecha Creacion:</td>
                         <td align="left" width="150px">
                             <asp:Label ID="fechaCreLabel" runat="server"></asp:Label>
                         </td>
                     </tr>
                    
                     <tr>
                         <td align="right">
                             Parida de Compras:</td>
                         <td width="200px">
                             <asp:HyperLink ID="estructuraCosto2HLK" runat="server"  ForeColor="Blue"></asp:HyperLink>
                                 
                         </td>
                         <td width="120px" align="right">
                             Fecha Modificacion:</td>
                         <td align="left"  width="150px">
                             <asp:Label ID="fechaModLabel" runat="server"></asp:Label>
                         </td>
                     </tr>
                    
                     <tr>
                         <td align="right">
                             Moneda:</td>
                         <td width="200px">
                             <asp:Label ID="monedaConparativoLabel" runat="server"></asp:Label>
                         </td>
                         <td align="right" width="120px">
                             Usuario Creacion:</td>
                         <td align="left" width="150px">
                             <asp:Label ID="usuarioCreLabel" runat="server" Text=""></asp:Label>
                         </td>
                     </tr>
                     <tr>
                         <td align="right">
                              Tipo Cambio:</td>
                         <td width="200px">
                              <asp:Label ID="tipoCambioLabel" runat="server"></asp:Label>
                              </td>
                         <td align="right" width="100px">
                             Observaciones:</td>
                         <td align="left" rowspan="2" width="150px" valign="top" >
                             <asp:Label ID="observacionLabel" runat="server"></asp:Label>
                         </td>
                     </tr>
                     <tr>
                         <td align="right">
                             Estado:</td>
                         <td width="200px">
                             <b style="font-size:medium">
                             <asp:Label ID="estadoLabel" runat="server"></asp:Label>
                             </b>
                             </td>
                         <td align="right" width="100px">
                             </td>
                     </tr>
                    
                 </table>
        </ContentTemplate>
        </asp:UpdatePanel>    
                    

           <asp:TabContainer ID="TabContainer2" runat="server" ActiveTabIndex="1">
           <asp:TabPanel ID="proveedorTabPanel" runat="server"  HeaderText="Proveedores"><ContentTemplate>
           <asp:GridView ID="proveedorGridView" runat="server" DataKeyNames="idInternal" 
                                 OnRowCreated="proveedorGridView_RowCreated" SkinID="GridView"><Columns><asp:TemplateField><ItemTemplate><table><tr></tr><tr><td 
                    align="right" valign="top">PROVEEDOR:</td><td><asp:Label ID="ProveedorLabel" 
                        runat="server" Text='<%# Eval("descripcion")%>'></asp:Label></td><td 
                    align="right">FORMA PAGO:</td><td align="left"><asp:Label ID="formaPagoLabel" 
                        runat="server" Text='<%# Eval("FormaPago")%>'></asp:Label></td></tr><tr><td 
                        align="right" valign="top">CONDICIONES:</td><td align="left"><asp:Label 
                            ID="CondicionLabel" runat="server" Text='<%# Eval("condicion")%>'></asp:Label></td></tr><%-- <tr>
                                     <td align="right">Moneda:</td>
                                         <td><asp:Label ID="monedaLabel" runat="server" Text='<%# Eval("moneda")%>' ></asp:Label></td>
                                     </tr>--%></table></ItemTemplate><HeaderStyle Width="350px" /></asp:TemplateField><asp:BoundField DataField="totalMon" HeaderText="TOTAL PROPUESTO"><HeaderStyle Width="120px" /><ItemStyle HorizontalAlign="Right" /></asp:BoundField><asp:BoundField DataField="totalContrMon" HeaderText="TOTAL CONTRATADO" 
                                         Visible="False"><HeaderStyle Width="120px" /><ItemStyle HorizontalAlign="Right" />
                                         </asp:BoundField><asp:BoundField DataField="totalUsoMon" HeaderText="TOTAL USO EN O/C">
                                         <HeaderStyle Width="120px" />
                                         <ItemStyle HorizontalAlign="Right" />
                                         </asp:BoundField>
                                         <asp:BoundField DataField="totalDispMon" HeaderText="SALDO DISPONIBLE"><HeaderStyle Width="120px" />
                                         <ItemStyle HorizontalAlign="Right" /></asp:BoundField></Columns></asp:GridView></ContentTemplate></asp:TabPanel>
                                         <asp:TabPanel ID="insumoTabPanel" runat="server" HeaderText="Recursos"  ><ContentTemplate>
                                         <table><tr><td></td><td valign="bottom">
                                         </td></tr></table>
                                         
                                         
                                         
                                         <asp:GridView ID="partidaGridView" Runat="server" DataKeyNames="idInternal" 
                       OnRowCreated="ComparativoitemGridView_RowCreated" 
                       OnRowDataBound="ComparativoitemoGridView_RowDataBound" SkinID="GridView"><Columns><asp:TemplateField><HeaderTemplate><asp:Label ID="header0BaseLabel" runat="server" 
                                   Text="SALDO COMPARADO"></asp:Label></HeaderTemplate><ItemTemplate><table width="100%"><tr><td align="right" width="35px">P.Unit.Ref::</td><td align="right"><asp:Label ID="Label2" runat="server" Text='<%# Eval("precioBaseMon") %>'></asp:Label></td></tr><tr><td align="right">Cantidad:</td><td align="right"><asp:Label ID="dLabel323" runat="server" 
                                Text='<%# Eval("totalcantidadOrig") %>'></asp:Label></td></tr><tr><td align="right">Total:</td><td align="right"><asp:Label ID="Label3" runat="server" Text='<%# Eval("totalBaseMonOrigen") %>'></asp:Label></td></tr></table></ItemTemplate><HeaderStyle Width="170px" /><ItemStyle BackColor="#F2F3F7" Width="170px" /></asp:TemplateField><asp:BoundField DataField="codigo" HeaderText="CODIGO" SortExpression="Codigo" /><asp:BoundField DataField="descripcion" HeaderText="DESCRIPCION" SortExpression="Descripcion" /><asp:BoundField DataField="unidad" HeaderText="UNID." SortExpression="unidad"><HeaderStyle Width="35px" /></asp:BoundField><asp:TemplateField  Visible="False"><ItemTemplate><asp:Label ID="ControlRowLabel" runat="server" Text=""></asp:Label></ItemTemplate></asp:TemplateField><asp:TemplateField><HeaderTemplate><asp:Label 
                    ID="header1BaseLabel" runat="server" Text=""></asp:Label></HeaderTemplate><ItemTemplate><table 
                        width="100%"><tr><td align="right" width="30px">Cant.Comp:</td><td 
                            align="right"><asp:Label ID="Label33" runat="server" 
                            Text='<%# Eval("cantidadBase") %>'></asp:Label></td></tr><tr><td 
                            align="right">Uso O/C:</td><td align="right"><asp:Label ID="Label333" 
                                runat="server" Text='<%# Eval("cantUso") %>'></asp:Label></td></tr></table></ItemTemplate><HeaderStyle 
                    HorizontalAlign="Left" VerticalAlign="Top" Width="150px" /></asp:TemplateField><asp:TemplateField><HeaderTemplate>
                    <asp:Label ID="header2BaseLabel" runat="server" Text=""></asp:Label></HeaderTemplate>
                    <ItemTemplate><table><tr><td align="right">Precio:</td></tr><tr><td align="right">
                    Total:</td></tr></table></ItemTemplate><controlstyle width="0px"></controlstyle>
                    <HeaderStyle Width="0px" /><ItemStyle Width="0px" /></asp:TemplateField>
                    <asp:TemplateField><HeaderTemplate><asp:Label ID="headerProveedor1Label" runat="server" Text="Proveedor 1">
                    </asp:Label></HeaderTemplate><ItemTemplate><table><tr><td align="right"><asp:Label ID="Label21" runat="server" 
                    Text='<%# Eval("precio1Mon") %>'></asp:Label></td></tr><tr><td align="right"><asp:Label ID="Label31" runat="server" Text='<%# Eval("total1Mon") %>'></asp:Label></td></tr></table></ItemTemplate><HeaderStyle HorizontalAlign="Left" VerticalAlign="Top" Width="150px" /><ItemStyle HorizontalAlign="Right" /></asp:TemplateField><asp:TemplateField><HeaderTemplate><asp:Label ID="headerProveedor2Label" runat="server" Text="Proveedor 2"></asp:Label></HeaderTemplate><ItemTemplate><table><tr><td align="right"><asp:Label ID="Label22" runat="server" Text='<%# Eval("precio2Mon") %>'></asp:Label></td></tr><tr><td align="right"><asp:Label ID="Label32" runat="server" Text='<%# Eval("total2Mon") %>'></asp:Label></td></tr></table></ItemTemplate><HeaderStyle HorizontalAlign="Left" VerticalAlign="Top" Width="150px" /><ItemStyle HorizontalAlign="Right" /></asp:TemplateField><asp:TemplateField><HeaderTemplate><asp:Label ID="headerProveedor3Label" runat="server" Text="Proveedor 3"></asp:Label></HeaderTemplate><ItemTemplate><table><tr><td align="right"><asp:Label ID="Label223" runat="server" Text='<%# Eval("precio3Mon") %>'></asp:Label></td></tr><tr><td align="right"><asp:Label ID="Label323" runat="server" Text='<%# Eval("total3Mon") %>'></asp:Label></td></tr></table></ItemTemplate><HeaderStyle HorizontalAlign="Left" Width="150px" /><ItemStyle HorizontalAlign="Right" /></asp:TemplateField><asp:TemplateField><ItemTemplate><asp:Image ID="ImageButton1" runat="server"  AlternateText="Recurso Finalizado" 
     Visible='<%# (Boolean.Parse(Eval("bitFinalizado").ToString()) == true) ? true : false%> '
     ImageUrl="~/Images/ComItemFin.png" /></ItemTemplate></asp:TemplateField></Columns></asp:GridView></ContentTemplate>
     </asp:TabPanel><asp:TabPanel HeaderText ="Devoluciones" runat="server" ID="TabPanel2"><ContentTemplate>
     <asp:Button ID="devolucionItemButtom" runat="server" onclick="devolucionItemButton_Click"    CssClass="ms-crm-List-Header" 
                        Text="Nueva Devolución" /><asp:LinkButton ID="LinkButton2" runat="server"></asp:LinkButton>
                        
                        <asp:modalpopupextender ID="finalizarDevolucionPopupExtender" 
                        runat="server" 
                       BackgroundCssClass="modalBackground"
                        cancelcontrolid="CancelarItemFinButtom" 
                       dropshadow="True" DynamicServicePath="" Enabled="True" 
                       popupcontrolid="comparativoitemFinPanel" 
                       popupdraghandlecontrolid="comparativoitemFinPanelPanel"
                        TargetControlID="LinkButton2"></asp:modalpopupextender><asp:UpdatePanel ID="UpdatePanel2" runat="server"><ContentTemplate><uc6:ComparativoDevListGrid ID="ComparativoDevListGrid1" runat="server"  DataSourceID="comparativoDevListODS"/><asp:ObjectDataSource ID="comparativoDevListODS" runat="server" EnablePaging="True" 
               SelectCountMethod="Countc" SelectMethod="GetComparativoDevoluciones" 
               SortParameterName="sortExpression" typeName="BOL.ComparativoBL"><SelectParameters><asp:querystringparameter Name="idComparativo" querystringfield="id" 
                       Type="Int32" /><asp:Parameter Name="startRowIndex" Type="Int32" /><asp:Parameter Name="maximumRows" Type="Int32" /><asp:Parameter Name="sortExpression" Type="String" /></SelectParameters></asp:ObjectDataSource></ContentTemplate><triggers><asp:AsyncPostBackTrigger ControlID="refreshButton" /></triggers></asp:UpdatePanel></ContentTemplate></asp:TabPanel><asp:TabPanel HeaderText ="OrdenCompra" runat="server" ID="ordenCompraTab"><ContentTemplate><asp:LinkButton ID="ordenCompra_Button" runat="server" 
                       CssClass="ms-crm-List-Header" Font-Underline="True" ForeColor="Blue">Nueva Orden Compra</asp:LinkButton><asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate><uc3:OrdenCompraListGrid ID="OrdenCompraListGrid1" runat="server" 
               DataSourceID="ordenCompraODS" /><asp:ObjectDataSource ID="ordenCompraODS" runat="server" EnablePaging="True" 
               SelectCountMethod="Countc" SelectMethod="getOrdenCompraList" 
               SortParameterName="sortExpression" typeName="BOL.OrdenCompraBL"><SelectParameters><asp:querystringparameter Name="idComparativo" querystringfield="id" 
                       Type="Int32" /><asp:querystringparameter Name="idObra" querystringfield="idObra" 
                       Type="Int32" /><asp:Parameter Name="startRowIndex" Type="Int32" /><asp:Parameter Name="maximumRows" Type="Int32" /><asp:Parameter Name="sortExpression" Type="String" /></SelectParameters></asp:ObjectDataSource></ContentTemplate><triggers><asp:AsyncPostBackTrigger ControlID="refreshButton" /></triggers></asp:UpdatePanel></ContentTemplate></asp:TabPanel><asp:TabPanel HeaderText ="Gasto Obra" runat="server" ID="TabPanel22"><ContentTemplate><asp:LinkButton ID="gastoObraNuevoButton" runat="server" 
                       CssClass="ms-crm-List-Header" Font-Underline="true" ForeColor="Blue">Nuevo Gasto Obra</asp:LinkButton><asp:UpdatePanel ID="gastoObraUpdatePanel" runat="server"><ContentTemplate><uc4:GastoObraListGrid ID="GastoObraListGrid1" runat="server" 
               DataSourceID="gastoObraODS" /><asp:ObjectDataSource ID="gastoObraODS" runat="server" EnablePaging="True" 
               SelectCountMethod="Countc" SelectMethod="getGastoObraList" 
               SortParameterName="sortExpression" typeName="BOL.OrdenCompraBL"><SelectParameters><asp:querystringparameter Name="idComparativo" querystringfield="id" 
                       Type="Int32" /><asp:Parameter Name="startRowIndex" Type="Int32" /><asp:Parameter Name="maximumRows" Type="Int32" /><asp:Parameter Name="sortExpression" Type="String" /></SelectParameters></asp:ObjectDataSource></ContentTemplate></asp:UpdatePanel></ContentTemplate></asp:TabPanel><asp:TabPanel HeaderText ="Facturacion" runat="server" ID="TabPanel1" ><ContentTemplate><asp:UpdatePanel ID="FRUpdatePanel" runat="server" UpdateMode="Conditional"><ContentTemplate><br /><uc2:RecepcionDocListGrid ID="RecepcionDocListGrid1" runat="server" 
             DataSourceID="recepcionDocListODS" /><asp:ObjectDataSource ID="recepcionDocListODS" runat="server" EnablePaging="True" 
             SelectCountMethod="Count" SelectMethod="GetRecepcionDocList" 
             SortParameterName="sortExpression" typeName="BOL.RecepcionDocBL"><SelectParameters><asp:querystringparameter Name="idComparativo" querystringfield="id" 
                       Type="Int32" /><asp:Parameter Name="startRowIndex" Type="Int32" /><asp:Parameter Name="maximumRows" Type="Int32" /><asp:Parameter Name="sortExpression" Type="String" /></SelectParameters></asp:ObjectDataSource></ContentTemplate><triggers><asp:AsyncPostBackTrigger ControlID="refreshButton" /></triggers></asp:UpdatePanel></ContentTemplate></asp:TabPanel></asp:TabContainer>  

                 </asp:Panel>
<%--
      <asp:Panel ID="proveedorIntParentPanel" Visible="false" runat="server" Height="200px"  Width="450px"  Font-Names="Arial">
    <asp:Panel ID="proveedorPanel" runat="server"   Height="200px"   Width="450px"  Style="cursor: move;background-color:#DDDDDD;border:solid 1px Gray;color:Black">
            <asp:Panel ID="Panel1" runat="server" CssClass="Heading secTitle AreaHeading ms-crm-List-Header " >
               Seleccionar Proveedor
                </asp:Panel>

        <asp:Panel ID="Panelsuperior" runat="server" Height="150px" Width="100%"> 
                     <asp:RadioButtonList ID="ProveedorRadioButtonList" runat="server">
                     </asp:RadioButtonList>
       
        </asp:Panel>



             <asp:Panel ID="Panel18" runat="server"   >
        
<table width="100%" >
 <tr  >
               
                <td class=" ms-crm-Dialog-Footer-Right">
               
                     <asp:Button ID="aceptarSelecProvButton"  runat="server"  Text="Añadir Seleccion "  CssClass="ms-crm-List-Header"
                      onclick="aceptarSelecProvButton_Click"    
                       
                        /> 
                    <asp:Button ID="cancelarSelecProvButton"  runat="server" Text="Cancelar" CssClass="ms-crm-List-Header"
                    
                       
                       /> 
                   
                     <br />
                   
                </td>
   </tr>


   
</table>
        </asp:Panel> 


    </asp:Panel>
    </asp:Panel>
--%>


   
             <asp:Panel ID="comparativoitemFinPanel"  Visible="false" runat="server" Height="400px"  Width="850px"  Font-Names="Arial">
    <asp:Panel ID="comparativoitemFinPanelPanel" runat="server"   Height="400px"   Width="850px"  Style="cursor: move;background-color:#DDDDDD;border:solid 1px Gray;color:Black">
               <uc5:ComparativoItemFinSeleccionPanel ID="ComparativoItemFinSeleccionPanel1" 
                                  runat="server" />




             <asp:Panel ID="Panel6" runat="server"   >
        
<table width="100%" >
 <tr  >
               
                <td class=" ms-crm-Dialog-Footer-Right">
               
                     <asp:Button ID="ComparativoItemFinButtom"  runat="server"  Text="Añadir Seleccion "  CssClass="ms-crm-List-Header"
                      onclick="comparativoFinButton_Click"  OnClientClick="return confirm('Usted quiere Terminar el Contrato de los items?')"   
                       
                        /> 
                    <asp:Button ID="CancelarItemFinButtom"  runat="server" Text="Cancelar" CssClass="ms-crm-List-Header"
                    
                       
                       /> 
                   
                     <br />
                   
                     
                   
                </td>
   </tr>


   
</table>
        </asp:Panel> 


    </asp:Panel>
    </asp:Panel>
  

   
           
                           
   
           
  

   
           
    </form>
</body>
</html>

